package com.alinu.settings.mapper;

import com.alinu.settings.domain.DicType;
import com.alinu.settings.domain.DicValue;

import java.util.List;

/**
 * @author chenzuwei
 * @date 2021/3/18
 * @description
 */
public interface DicValueMapper {
    /**
     * 根据类型获取值
     *
     * @param code 类型码
     * @return 该类型的所有值
     */
    List<DicValue> getValueByType(String code);
}
